<?php

 /*---------------------------------------------------------------------------------*
 *                                                                VoetbalPoule      *
 *  Datum:      3-3-2011                                                            *
 *  File:       init.php                                                            *
 *  Autheur:    Erwin Oldenkamp                                                     *
 *  Company:    E-Old / EkPoule.nl / WkPoule.nl                                     *
 *----------------------------------------------------------------------------------*
 *  Description:    Alle bestanden worden hier ingeladen en alle objecten worden aan*
 *                  gemaakt                                                         *         
 *----------------------------------------------------------------------------------*/  
 
define( 'ROOT_PATH', dirname(dirname( __DIR__ ) .'\.. ') ."/" ); 
 //---------------------------------
 // config files openen
 //---------------------------------
 include ROOT_PATH . 'kernel/config/config.cms.php';
 
 //---------------------------------
 // Core bestanden inladen
 //---------------------------------
 include ROOT_PATH . 'kernel/base/core.BaseClass.php';                                 
 include ROOT_PATH . 'kernel/core.class.php';
 include ROOT_PATH . 'kernel/base/action.BaseClass.php';
  
 //---------------------------------
 // lib bestanden inladen
 //---------------------------------
 include ROOT_PATH . 'kernel/libs/smarty/Smarty.class.php';
 include ROOT_PATH . 'kernel/libs/propel/propel.php';
 include ROOT_PATH . 'kernel/libs/positie.class.php';
 include ROOT_PATH . 'kernel/libs/helpers.class.php';
 include ROOT_PATH . 'kernel/libs/user.class.php';
 
 //---------------------------------
 // Exeption bestanden inladen
 //---------------------------------
 include ROOT_PATH . 'kernel/libs/exeptions/login.exeption.php';         
 
 $core = new core($conf,ADMIN);
 
 $core->globalAssigns();
 $core->route();
 
   core::$tpl->display('index.tpl') ;    
   
 
?>
